<?php

namespace App\Http\Controllers\Front;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Interfaces\PictureService;
use App\Models\Activity;
use Auth,Session;

class ActivityController extends Controller
{

    public function index(Request $request,$identification)
    {
        $activity = Activity::where('identification',$identification)->get();
        $activity = $activity[0];
        $id = $activity->id;
        $user=Auth::user();
        return view('front.activity.index',compact(['id','user','activity']));

    }


}
